{% extends "base.html" %}

{% comment %}
<!--
  Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
  Created on 2010-04-28.
  $Id$
-->
{% endcomment %}

{#________________________________________________________________________________________________#}

{% block html_title %} Restaurants tagged by {{ tag_name|escape }} {% endblock %}

{#________________________________________________________________________________________________#}

{% block sidebar %}

  <div class="section">
    <h2>Tag Cloud:</h2>
    <div id="load-resto-tag-cloud"></div>
    <script type="text/javascript">//<![CDATA[
      $(function() {
        $("#load-resto-tag-cloud").load("{% url friday.view_resto_tag_cloud %}");
      });
    //]]></script>
  </div>

{% endblock %}

{#________________________________________________________________________________________________#}

{% block content %}

  <div class="section">
    <h1>Restaurants tagged by "{{ tag_name|escape }}" ...</h1>
  </div>

  <div class="section">
    {% include "restos/common/restos.html" %}
    {% if restos.cursor %}
      <div class="pagination">
        <a class="pager" href="?tag_name={{ tag_name|urlencode }}&amp;cursor={{ restos.cursor|urlencode }}">Next &raquo;</a>
      </div>
    {% endif %}
  </div>

{% endblock %}

